<template>
	<view style="text-align: center;background-color: #fff;height: 100vh;">
		<view class="" style="font-size: 18px;color: #19be6b;padding-top: 50px;">
			支付成功
		</view>
		<view class="" style="font-size: 12px;color: #999;padding: 10px;">
			感谢你的购买
		</view>
		<view class="">
			<text style="display: inline-block;padding: 6px 14px;background-color: #19be6b;color: #fff;border-radius: 4px;font-size: 12px;margin: 0 10px;" @click="handleCk">查看订单</text>
			<text style="display: inline-block;padding: 6px 14px;background-color: #fff;color: #19be6b;border-radius: 4px;font-size: 12px;margin: 0 10px;border: 1px solid #19be6b;" @click="handleJx">继续购物</text>
		</view>
	</view>
</template>

<script>
	var http = require("../../utils/http");
	export default {
		data() {
			return {
				
			}
		},
		onLoad(option) {
			http.request({
				url: "/p/order/normalPay",
				method: "post",
				data:{ orderNumbers:option.orderNumbers},
				callBack: res => {
				}
			});
		},
		methods: {
			handleCk(){
				console.log(11);
				uni.navigateTo({
					url:`/pages/orderList/orderList?sts=0`
				})
			},
			handleJx(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			},
		}
	}
</script>

<style>

</style>
